#include<iostream>
using namespace std;

int main()
{
	double t = 0.0;
	int n = 0;
	cin >> t >> n;
	printf("%.3f\n%d\n", (t / n), (n * 2));
	
	return 0;
}
